Skip to content

Conversation

@gyaneshgouraw-okta
Copy link
Contributor

📝 Pull Request Description

🔄 Changes

  • The selectors in the loginToAuth0 function were updated to correctly target Auth0 input fields.
  • The username and password fields are now selected using their IDs, #username and #password, respectively.
  • The submit button is now selected using button[type="submit"][name="action"] and a case-insensitive check for the text "continue".

🧪 Testing

  • The updated login functionality was tested.
  • Cypress end-to-end tests were used to verify successful login using the updated selectors.
  • All tests passed after the changes were implemented.

💥 Impact

  • This change fixes a bug in the login functionality.
  • The system's login process is now more robust and reliable.
  • There is no performance impact.

📋 Checklist

  • Code follows the project's coding standards
  • Tests have been added/updated
  • Documentation has been updated
  • All tests are passing

dependabot bot and others added 2 commits July 9, 2025 07:39
Bumps [@auth0/auth0-spa-js](https://github.com/auth0/auth0-spa-js) from 2.1.3 to 2.2.0.
- [Release notes](https://github.com/auth0/auth0-spa-js/releases)
- [Changelog](https://github.com/auth0/auth0-spa-js/blob/main/CHANGELOG.md)
- [Commits](auth0/auth0-spa-js@v2.1.3...v2.2.0)

---
updated-dependencies:
- dependency-name: "@auth0/auth0-spa-js"
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@gyaneshgouraw-okta gyaneshgouraw-okta requested a review from a team as a code owner July 10, 2025 03:59
@gyaneshgouraw-okta gyaneshgouraw-okta merged commit 4630a16 into main Jul 17, 2025
10 of 11 checks passed
@gyaneshgouraw-okta gyaneshgouraw-okta deleted the fix/cypress branch July 17, 2025 09:38
gyaneshgouraw-okta added a commit that referenced this pull request Sep 17, 2025
## 📝 Pull Request Description

### 🔄 Changes
- The selectors in the `loginToAuth0` function were updated to correctly
target Auth0 input fields.
- The username and password fields are now selected using their IDs,
`#username` and `#password`, respectively.
- The submit button is now selected using
`button[type="submit"][name="action"]` and a case-insensitive check for
the text "continue".

### 🧪 Testing
- The updated login functionality was tested.
- Cypress end-to-end tests were used to verify successful login using
the updated selectors.
- All tests passed after the changes were implemented.

### 💥 Impact
- This change fixes a bug in the login functionality.
- The system's login process is now more robust and reliable.
- There is no performance impact.

### 📋 Checklist
- [ ] Code follows the project's coding standards
- [ ] Tests have been added/updated
- [ ] Documentation has been updated
- [ ] All tests are passing

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kunal Dawar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants